package model;

public class Commodity {

	private int id;
	private String commodityName;
	private String smallclassName;
	private double oldSale;
	private double sale;
	private int num;
	private String picture;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public String getSmallclassName() {
		return smallclassName;
	}
	public void setSmallclassName(String smallclassName) {
		this.smallclassName = smallclassName;
	}
	public double getOldSale() {
		return oldSale;
	}
	public void setOldSale(double oldSale) {
		this.oldSale = oldSale;
	}
	public double getSale() {
		return sale;
	}
	public void setSale(double sale) {
		this.sale = sale;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public Commodity() {
		// TODO Auto-generated constructor stub
	}
	public Commodity(int id, String commodityName, String smallclassName,
			double sale, int num, String picture) {
		this.id = id;
		this.commodityName = commodityName;
		this.smallclassName = smallclassName;
		this.sale = sale;
		this.num = num;
		this.picture = picture;
	}
	public Commodity(String commodityName, String smallclassName, double sale,
			int num, String picture) {
		super();
		this.commodityName = commodityName;
		this.smallclassName = smallclassName;
		this.sale = sale;
		this.num = num;
		this.picture = picture;
	}
	public Commodity(int id, String commodityName, String smallclassName,
			double oldSale, double sale, int num, String picture) {
		this.id = id;
		this.commodityName = commodityName;
		this.smallclassName = smallclassName;
		this.oldSale = oldSale;
		this.sale = sale;
		this.num = num;
		this.picture = picture;
	}
	
	
}
